package com.swanclouds.api.chassis;

import com.swanclouds.common.RestService;
import com.swanclouds.model.common.redfish.CollectionResource;
import com.swanclouds.redfish.chassis.domain.NetworkAdaptersModel;

import java.util.List;

/**
 * Author: HuangFuYuHui
 * Title: NetworkAdaptersService
 * Description: TODO
 * Date: 2022/7/18 15:33
 */
public interface NetworkAdaptersService extends RestService {

    /**
     * 查询网卡集合资源信息
     * @return com.swanclouds.model.common.redfish.CollectionResource
     **/
    CollectionResource get();

    /**
     * 查询指定网络适配器集合资源信息
     * @param networkAdapterId 网络适配器Id
     * @return com.swanclouds.model.chassis.NetworkAdapters
     **/
    NetworkAdaptersModel getNetworkAdapter(String networkAdapterId);

    /**
     * 查询网络适配器集合资源信息
     * @return java.util.List
     **/
    List<NetworkAdaptersModel> list();


}
